package com.pshcp.common.enums;

/**
 * @Description: 支付状态 0未支付，1支付中，2支付完成，3支付失败，4退款中，5退款成功，6退款失败
 * @Author: xiaoche
 * @Date: 2022/10/29 12:36
 */
public enum RegPayStatusEnum {

    WAIT_PAY(0, "未支付"),

    PAY_ING(1, "支付中"),

    PAY_OK(2,"支付完成"),

    PAY_FAIL(3,"支付失败"),

    REFUND_ING(4, "退款中"),

    REFUND_OK(5,"退款成功"),

    REFUND_FAIL(6,"退款失败"),

    LAUNCH_REFUND(9, "发起退款"),

    ;

    private Integer code;
    private String desc;

    RegPayStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
